package com.ruoyi.yuangong.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * qiandao对象 qiandaoguanli
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public class Qiandaoguanli extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    private Integer id;

    /**
     * 排班表id
     */
    @Excel(name = "排班表id")
    private Integer paibanid;

    /**
     * 签到时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date qiandaoshijian;

    /**
     * 是否已签到
     */
    @Excel(name = "是否已签到")
    private Integer shifouqiandao;

    public void setId (Integer id) {
        this.id = id;
    }

    public Integer getId () {
        return id;
    }

    public void setPaibanid (Integer paibanid) {
        this.paibanid = paibanid;
    }

    public Integer getPaibanid () {
        return paibanid;
    }

    public void setQiandaoshijian (Date qiandaoshijian) {
        this.qiandaoshijian = qiandaoshijian;
    }

    public Date getQiandaoshijian () {
        return qiandaoshijian;
    }

    public void setShifouqiandao (Integer shifouqiandao) {
        this.shifouqiandao = shifouqiandao;
    }

    public Integer getShifouqiandao () {
        return shifouqiandao;
    }

    @Override
    public String toString () {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("paibanid", getPaibanid())
                .append("qiandaoshijian", getQiandaoshijian())
                .append("shifouqiandao", getShifouqiandao())
                .toString();
    }
}
